<!DOCTYPE html>
<html>
<head>
    <title>法向速度测试</title>
    <style>body { margin: 0; background: #000; }</style>
</head>
<body>
    <script type="module">
        import * as THREE from 'three';
        // 这里可以导入你的SPE模块进行测试
        // import { Emitter, ParticleSystem } from './src/index.js';
        
        const scene = new THREE.Scene();
        const camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000);
        const renderer = new THREE.WebGLRenderer();
        renderer.setSize(window.innerWidth, window.innerHeight);
        document.body.appendChild(renderer.domElement);
        
        camera.position.set(0, 5, 15);
        
        // 测试代码将在这里添加
        
        function animate() {
            requestAnimationFrame(animate);
            renderer.render(scene, camera);
        }
        animate();
    </script>
</body>
</html>